package com.hnu.highlynewapp.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author kLjSumi
 * @Date 2021/1/8
 */
@ApiModel("发布企业意见请求参数")
@Data
public class PublishIdeaVo {
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题",required = true)
    @NotBlank(message = "标题不能为空")
    private String title;
    /**
     * 意见内容
     */
    @ApiModelProperty(value = "意见内容",required = true)
    @NotBlank(message = "意见内容不能为空")
    private String content;
    /**
     * 企业id
     */
    @ApiModelProperty(value = "企业id",required = true)
    @NotNull(message = "企业id不能为空")
    private Long businessId;
}
